FROM openjdk:oraclelinux8

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

LABEL "author"="qiuqiuya"
LABEL "version"="1.0"
LABEL "email"="fortunate_qkm@163.com"

ADD *.jar app.jar

EXPOSE 8081

ENTRYPOINT ["java", "-jar", "-Duser.timezone=GMT+08", "-Dfile.encoding=UTF-8", "-Dsun.jnu.encoding=UTF-8", "/app.jar"]